package com.cyq.dascma.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyq.dascma.dto.ScoreInfoDto;
import com.cyq.dascma.entity.Score;
import com.cyq.dascma.mapper.ScoreMapper;
import com.cyq.dascma.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *
 * dingwen
 * 2021/4/3 23:38
 **/
@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreMapper, Score> implements ScoreService {
    private final ScoreMapper scoreMapper;
    @Autowired
    ScoreServiceImpl(ScoreMapper scoreMapper){
        this.scoreMapper = scoreMapper;
    }
    @Override
    public List<ScoreInfoDto> findScoreInfoList(Map<String, Object> params) {
        return scoreMapper.findScoreInfoList(params);
    }
}
